import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router/index'

// UI组件库样式
import 'element-plus/es/components/message/style/css'
import 'element-plus/es/components/message-box/style/css'

// 粒子特效
import Particles from 'particles.vue3'

// 导入动画
import 'animate.css'

// 导入权限
import './permission'

// 自定义指令
import directives from '@/directives'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(Particles)
app.use(directives)

app.mount('#app')
